package com.piggy.logi.sys.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 运单费用对象 logi_waybill_fee
 *
 * @author zito
 * @date 2023-08-10
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("logi_waybill_fee")
public class LogiWaybillFee implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty(value = "部门ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long deptId;

    /** 运单ID */
    @ApiModelProperty("运单ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long waybillId;

    /** 抵扣物ID */
    @ApiModelProperty("抵扣物ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer deductionId;

    /** 返款 */
    @ApiModelProperty("返款")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal refund;

    /** 结算模式 */
    @ApiModelProperty("结算模式")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer settlementMode;

    /** 现付 */
    @ApiModelProperty("现付")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cod;

    /** 到付 */
    @ApiModelProperty("到付")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal pod;

    /** 欠付 */
    @ApiModelProperty("欠付")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal poa;

    /** 会付 */
    @ApiModelProperty("会付")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal pom;

    /** 月结 */
    @ApiModelProperty("月结")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal ms;

    /** 月结天数 */
    @ApiModelProperty("月结天数")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer msDay;

    /** 总计费用 */
    @ApiModelProperty("总计费用")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal totalFee;

    /** 节点信息 */
    @ApiModelProperty("节点信息")
    private String node;
}
